package com.example.steveaoblogdemo.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;


/**
 * (Tag)表实体类
 *
 * @author makejava
 * @since 2023-07-18 18:16:29
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@SuppressWarnings("serial")
@TableName("tag")
public class Tag {
    //标签ID(自增)
    @TableId(type = IdType.AUTO)
    private Integer id;
    //标签名称
    private String tName;
    //标签状态(0为存在，1为删除)
    @TableLogic
    private Integer status;
    //文章ID
    private Integer aId;


}

